package com.igelato.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @TableName: goods
 * @Description: 
 * @Author: wht
 * @Date: 2024-01-27
 */
@Data
    @Accessors(chain = true)
public class Goods implements Serializable{
                @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        private Integer cate_id;
        private String goods_name;
        @ApiModelProperty("商品描述")
        private String goods_desc;
        private String goods_image;
        @ApiModelProperty("原价")
        private Integer origin_price;
        @ApiModelProperty("打折后的价格")
        private Integer discount_price;
        @ApiModelProperty("特价")
        private Integer special_price;
        @ApiModelProperty("规格")
        private String specs_list_json;
        @ApiModelProperty("组合")
        private String compose_list_json;
        private Integer sort;
        @ApiModelProperty("1：展示；-1：不展示；")
        private Byte status;
        @ApiModelProperty("0：正常；1：删除；")
        private Byte is_deleted;
        private LocalDateTime create_time;
        private LocalDateTime update_time;
@TableField(exist = false)
private static final long serialVersionUID=1L;

        }
